<?php
namespace __APP_NAME__\controller;

use \gnomephp\message\Message;

use \gnomephp\doctrine\Doctrine;

class Auth extends \gnomephp\security\Security implements \gnomephp\security\Secure{

	
	
	public function hasAccessTo($method, $session){
		return true; // @TODO implement access control
	}

	protected function authenticate($username, $password){
		return true; // @TODO create database interaction for username / password check.
	}

	public function manage(){
		parent::manage();
		// @TODO Create manage user page.
	}
	
	public function login(){
		parent::login();
		// @TODO Create login page.
	}

	public function register(){
		
		// @TODO Create register page.
	}


}